package com.course.chapter1;

public class SynchroizedDemo {

    public synchronized void methodName(){

        System.out.println("同步方法");

    }

}
